package com.yzwu.lambda;

/**
 * @author yzwu
 * @date 2022/5/28 10:30 AM
 */
public class FilterEmployeeByAge implements MyPredicate<Employee>{
    @Override
    public boolean test(Employee employee) {
        return employee.getAge()>=35;
    }
}
